import request from '@/utils/request'

const api_store = '/admin/zhou/equipment/getStokePage'

// 分页列表
export const GetStoreListByPage = (page, limit, queryDto) => {
    return request({
      url: `${api_store}/${page}/${limit}`,
      method: 'get',
      params:queryDto
    })
  }

  export const updateStates = (id) => {
    return request({
      url: '/admin/zhou/equipment/updateState/' + id,
      method: 'delete'
  })
  }

  export const StartEquipmentById = (id) => {
      return request({
        url: '/admin/zhou/equipment/updateStarts/' + id,
        method: 'delete'
    })
    }